package com.yurun.organizationmodule.service;

import com.yurun.commonapi.api.CommonResult;
import com.yurun.commonapi.pojo.OrganizationInfo;
import com.yurun.organizationmodule.mapper.OrganizationMapper;

import java.math.BigInteger;
import java.util.List;

public interface OrganizationService {

    List<OrganizationInfo> getAllOrganizationList();

    List<String> getOrgOption();

    boolean addOrg(OrganizationInfo organizationInfo);

    List<OrganizationInfo> getOneOrgInfoByName(String organizationName);

    List<OrganizationInfo> getOrganizationList(String keyword);

    OrganizationInfo getOneOrgInfoById(BigInteger organizationId);

    boolean editOrgById(OrganizationInfo organizationInfo);

    boolean delOrgById(BigInteger organizationId);

    CommonResult getAdminEmployeeId(BigInteger organizationId);
}
